package openapi

var (
	swagger_ui_template_1 = `
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content="SwaggerUI"/>
    <title>SwaggerUI</title>
    <link rel="stylesheet" href="{SwaggerPath}/swagger-ui.min.css" />
</head>
<body>
<div id="swagger-ui"></div>
<script src="{SwaggerPath}/swagger-ui-bundle.js" crossorigin></script>
<script>
    window.onload = () => {
        window.ui = SwaggerUIBundle({
            url:    '{SwaggerUIDocUrl}',
            dom_id: '#swagger-ui',
        });
    };
</script>
</body>
</html>
`

	swagger_ui_template_2 = `<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>openAPI UI</title>
  </head>
  <body>
    <div id="openapi-ui-container" spec-url="{SwaggerUIDocUrl}"></div>
    <script src="{SwaggerPath}/openapi-ui.umd.js"></script>
  </body>
</html>`

	swagger_ui = []string{
		swagger_ui_template_1,
		swagger_ui_template_2,
	}
)
